package com.xuzhen.domain;

import java.util.Date;

/**
 * 收入支出账目实体类
 */
public class Account {
	private Long id;
	/** 所属用户 **/
	private User user;
	/** 类型：支出or收入 **/
	private int type;
	/** 金额 **/
	private double amount;
	/** 详细描述 **/
	private String detail;
	/** 消费or收入日期 **/
	private Date noteDate;
	/** 记录时间 **/
	private Date createDate;
	/** 备注 **/
	private String remark;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Date getNoteDate() {
		return noteDate;
	}

	public void setNoteDate(Date noteDate) {
		this.noteDate = noteDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
